package org.hcyspartnoc.luoxin.mapper.searchtopic;

import org.apache.ibatis.annotations.Mapper;
import org.hcyspartnoc.luoxin.pojo.po.searchtopic.QuestionBankPo;
import org.hcyspartnoc.luoxin.pojo.vo.searchtopic.QuestionBankVO;

import java.util.List;

@Mapper
public interface QuestionBankMapper {

        int updateQuestionBank(QuestionBankPo questionBank);

        List<QuestionBankVO> selectQuestionBank(Integer userId);

        Integer insertQuestionBank(QuestionBankPo questionBankPo);

        Integer deleteQuestionBank(Long id);

        Integer deleteQuestionBanks(List<Integer> ids);
    }
